package DrawPic;

import java.util.Scanner;

public class ZhengFangxin extends Figure{
	private int kuan;
	
		public ZhengFangxin(int kuan, int chang){
			super(chang);
			setKuan(kuan);
		}
	
		public static void draw(){
			System.out.println("请输入你要绘画的正方形的边长");
			Scanner sca=new Scanner(System.in);
			int bc=sca.nextInt();
			for(int i=0; i<bc; i++){
				for(int j=0; j<bc; j++){
					System.out.print("*"+"\t");       
				}System.out.println("\n\n");
			}	System.out.println("OK!好了，接下来你要做什么呢？");			
		}
		
		public static void erase(){
			System.out.println();
			System.out.println();
			System.out.println();
			System.out.println();
		}
		
		public int getKuan(){
			return kuan;
			
		}
		
		public void setKuan(int kuan){
			this.kuan=kuan;		
		}
	
	
	
}
